package com.TeacherInfoServer.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "历任专业主官任职信息类")
@TableName("position_history")
public class PositionHistory {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private Long departmentId;
    private String startDate;
    private String endDate;
    private String teacherId;
    private Integer positionType;


}
